home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
bbs
/
pentas20.zip
/
PENTAS20.EXE
/
SCRIPTS
/
TEST2.SCR
< prev
next >
Wrap
Text File
|
1997-08-20
|
3KB
|
76 lines
START COMMENT
***************************************************************
Test #2 Script Written For Pentasim
Another fairly simple example of what can be done.
***************************************************************
END COMMENT
DISPLAY,2,7
You find yourself in an underground @valley@ with @3@ large rocks
directly in front of you. Which @rock@ do you turn over?
CHOICES,3
START CHOICE,10
CHOICE,A,Rock #1
CHOICE,B,Rock #2
CHOICE,C,Rock #3
END CHOICE
INPUT,Make your Choice:,15
START DECISION
A
GIVE,FIND
B
GOTO,PASSAGEWAY
C
GIVE,FIND
END DECISION
WAIT
EXIT
ROUTINE,PASSAGEWAY
START COMMENT
**********************************************************************
The user has chosen Rock #2 in the above DECISION, so everything
after the GOTO,PASSAGEWAY is ignored, until the program finds
ROUTINE,PASSAGEWAY. If the user chose anything OTHER than "B", that
command would be executed, then the program would pause at the WAIT
statement and then exit.
**********************************************************************
END COMMENT
CLEAR
DISPLAY,2,7
Under the @second@ Rock you find a Secret @Passageway@ that leads you
into another world...
START COMMENT
**********************************************************************
Instead of inserting blank lines...If we want to print some text and
then move ahead a line or 2, we can simply print the initial lines we
want and then use another DISPLAY command and position the display
where we want it to be.
**********************************************************************
END COMMENT
DISPLAY,1,10
There seems to be @something@ ahead in the distance...
PAUSE,3
START COMMENT
****************************************************
No we pause here for 3 seconds for some suspense :)
****************************************************
END COMMENT
DISPLAY,2,12
All of a @sudden@ it is upon you...A disfigured @Robot@...The Robot
reaches out and @touches@ your hand with @quick@ accuracy.
PAUSE,3
GIVE,GRANT
START COMMENT
*************************************************************************
Since the GIVE command will always GIVE something to the player, we can
now say something after the item(s) have been given. Keep in mind the
display lines here as well...Since our 2 lines of text above were
written on line 12 and 13, the GIVE line is always written 2 lines down
from the last line, which is 15 in this case, our next display should be
at least on line 16.
**************************************************************************
END COMMENT
DISPLAY,1,17
Before you can thank the @Robot@, it @dissapears@ into thin air!
WAIT
EXIT